﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CategoryJobSearch.ascx.cs" Inherits="UserControls_CategoryJobSearch" %>
 <h2>Job Gallery</h2>
<asp:DataGrid ID="dgrd" runat="server" AutoGenerateColumns="false" AllowPaging="True" onitemcommand="dgrd_ItemCommand" CssClass="job_list"
             PageSize="8" onpageindexchanged="dgrd_PageIndexChanged1" ShowFooter="True">
             <PagerStyle  PageButtonCount="5"  Mode="NumericPages" HorizontalAlign="Center" Position="Bottom" />
             <AlternatingItemStyle BorderStyle="None" />
           <Columns>
             <asp:TemplateColumn>
              <HeaderTemplate><ul></HeaderTemplate>
          <ItemTemplate> 
               <li><asp:LinkButton ID="lnk" runat="server" CommandName="code" CommandArgument='<%# Eval("CategoryID") %>' Text='<%# Eval("CategoryName") %>'  CausesValidation="false"  />
                </li>
          </ItemTemplate>
          <FooterTemplate></ul></FooterTemplate>
             </asp:TemplateColumn>
           </Columns>
         </asp:DataGrid>
     <div style="float:right;">
        <asp:ImageButton ID="ImageButton1" runat="server" 
            ImageUrl="~/Images/adv search.gif" CausesValidation="False" 
            onclick="ImageButton1_Click" />
    </div>














